home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
PWAPG10.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-08-16
|
2KB
|
65 lines
@echo off
rem
rem -------------------------------------------------------------------------
rem Prompts Galore! v1.0 by Drew
rem -------------------------------------------------------------------------
rem
if .%1==. goto help
if .%2==. goto help
if not .%4==. goto help
if not exist %1 goto help
rem if not exist %2\prompts.ppe goto help
if .%3==.all goto all
:default
if not exist %3.PPE goto NoPPE
mkpcbtxt %1 /i:%3 "!%2\%3.PPE"
goto done
:all
mkpcbtxt %1 /i:196 "!%2\196.ppe"
mkpcbtxt %1 /i:296 "!%2\296.ppe"
mkpcbtxt %1 /i:403 "!%2\403.ppe"
mkpcbtxt %1 /i:449 "!%2\449.ppe"
mkpcbtxt %1 /i:474 "!%2\474.ppe"
mkpcbtxt %1 /i:500 "!%2\500.ppe"
mkpcbtxt %1 /i:550 "!%2\550.ppe"
mkpcbtxt %1 /i:551 "!%2\551.ppe"
mkpcbtxt %1 /i:662 "!%2\662.ppe"
mkpcbtxt %1 /i:678 "!%2\678.ppe"
goto done
:NoPPE
echo There is no ppe for prompt #%3. Please try again.
goto done
:help
cls
echo.
echo To install Prompts Galore, type:
echo.
echo install PCBTEXT PPEDIR OPTION
echo.
echo OPTION must be either "all" to install all prompts, or the prompt
echo number itself if you just want to install one prompt.
echo.
echo PCBTEXT is the full pathname of your PCBTEXT file.
echo.
echo PPEDIR is the directory of where Prompts Galore is to be installed.
echo.
echo Examples:
echo.
echo install C:\PCB\GEN\PCBTEXT C:\PPE\PG all -- installs all prompts
echo install C:\PCB\GEN\PCBTEXT C:\PPE\PG 474 -- installs prompt 474
echo.
:done
echo.
echo Prompts Galore v1.0 by Drew
echo.
echo Gawd I hate batch files. T/csh-shell scripts would have been so
echo much nicer. :) --Drew
echo.